package com.fushenlan.epidemicControl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fushenlan.commons.GeneralResponse;
import com.fushenlan.dto.AllInformationInfoDTO;
import com.fushenlan.dto.PersonalInfoRespDTO;
import com.fushenlan.dto.PersonalStatusCommitReqDTO;
import com.fushenlan.dto.YangPersonalDetailsDTO;
import com.github.pagehelper.Page;

import javax.servlet.http.HttpServletResponse;

public interface YangManageService {
    GeneralResponse<IPage<PersonalInfoRespDTO>> queryYangPersonal( Long community, String name, Integer status, Integer pageSize, Integer pagerNum);

    GeneralResponse<AllInformationInfoDTO> queryYangNum();

    GeneralResponse personalStatusCommit(PersonalStatusCommitReqDTO personalStatusCommitReqDTO);

    GeneralResponse exportYangPersonal(Long community, String name, Integer status,
                                       HttpServletResponse response);

    GeneralResponse<YangPersonalDetailsDTO> queryYangPersonalDetails(Long userId);
}
